﻿using System.Text;

namespace JsiCommon.javaScriptInterop
{
    class JsiGlobalObject : IJsiExpression
    {
        private readonly string _name;

        public JsiGlobalObject(string name)
        {
            _name = name;
        }

        public void Compile(StringBuilder builder)
        {
            builder.Append(_name);
        }
    }
}